#include <iostream>
#include "range_based_for.h"

CForA::CForA(int val)
    : m(val)
{}

CForA::CForA(const CForA& rhs)
{
    m = 0;
    std::cout << "copy constructor, m = " << m << ", rhs.m = " << rhs.m << std::endl;
    m = rhs.m;
}